/* 经纪人页面专有样式 */

/* 头部导航 */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
}

.back-btn {
    font-size: 20px;
    color: var(--dark-color);
}

.page-title {
    font-size: 18px;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

.right-placeholder {
    width: 20px;
}

/* 介绍部分 */
.intro-section {
    background-color: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 15px;
}

.intro-video {
    position: relative;
    height: 200px;
}

.intro-video img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.intro-text {
    padding: 15px;
}

.intro-text h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.intro-text p {
    font-size: 14px;
    color: var(--gray-color);
    line-height: 1.6;
    margin-bottom: 15px;
}

.stats {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.stat-item {
    text-align: center;
    flex: 1;
}

.stat-item h3 {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 12px;
    color: var(--gray-color);
    margin: 0;
}

/* 行业分类 */
.industry-filter {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 15px;
}

.industry-filter h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.industry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.industry-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.industry-item i {
    font-size: 24px;
    margin-bottom: 5px;
    color: var(--gray-color);
}

.industry-item span {
    font-size: 12px;
    color: var(--gray-color);
}

.industry-item.active {
    background-color: rgba(63, 81, 181, 0.1);
}

.industry-item.active i,
.industry-item.active span {
    color: var(--primary-color);
}

.industry-item:hover {
    background-color: var(--light-gray);
}

/* 经纪人列表 */
.agents-group {
    margin-bottom: 20px;
}

.agents-group h2 {
    font-size: 16px;
    font-weight: bold;
    padding: 10px 15px;
    background-color: #fff;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    border-bottom: 1px solid var(--light-gray);
}

.agents-list .card-container {
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

/* 经纪人卡片扩展样式 */
.agent-card .description {
    font-size: 13px;
    color: var(--text-color);
    line-height: 1.5;
    margin: 10px 0;
}

.service-cards {
    display: flex;
    gap: 10px;
    margin: 15px 0;
}

.service-card {
    flex: 1;
    background-color: var(--light-color);
    border-radius: 6px;
    padding: 8px;
    text-align: center;
}

.service-card h4 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 5px;
}

.service-card .price {
    font-size: 14px;
    color: var(--danger-color);
    font-weight: bold;
    margin: 0;
}

.card-img .tag.bronze {
    background-color: rgba(176, 141, 87, 0.9);
    color: #fff;
}

/* 成功案例 */
.success-cases {
    background-color: #fff;
    border-radius: var(--border-radius);
    padding: 15px;
    margin-bottom: 20px;
}

.success-cases h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 15px;
}

.case-slider {
    position: relative;
}

.case-item {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 15px;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
}

.user-details h3 {
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px;
}

.user-details p {
    font-size: 12px;
    color: var(--gray-color);
    margin: 0;
}

.case-content {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--text-color);
    font-style: italic;
}

.results {
    display: flex;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
}

.result-item {
    flex: 1;
    text-align: center;
}

.result-item h4 {
    font-size: 12px;
    color: var(--gray-color);
    margin-bottom: 5px;
}

.result-item p {
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.case-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 15px;
}

.case-prev, .case-next {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--gray-color);
}

.case-dots {
    display: flex;
    align-items: center;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--light-gray);
    margin: 0 5px;
}

.dot.active {
    background-color: var(--primary-color);
}

/* 媒体查询 */
@media (max-width: 400px) {
    .industry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-cards {
        flex-wrap: wrap;
    }
    
    .service-card {
        flex-basis: calc(50% - 5px);
    }
} 